<script>
    if (window.testRunner)
        testRunner.overridePreference("WebKitMinimumFontSize", "12");
</script>
<p>Test that text with 0px font size is not displayed, even if a non-zero minimum font size setting is specified. On success, this paragraph should be the only text visible on the page.</p>
<div style="font-size:0px; color:red">FAIL</div>
<div style="font-size:0%; color:red">FAIL</div>